package lab02.test13;

public class Test13 {
    public static void main(String[] args) {
        double[] scores = {89.70, 90, 79, 60};

        Gymnastics gymnastics = new Gymnastics();
        System.out.println("去掉一个最高分，去掉一个最低分的平均分为：" + gymnastics.average(scores));

        System.out.println("------------------------");

        School school = new School();
        System.out.println("总体平均分为：" + school.average(scores));

    }
}
